import { axios } from '~/plugins/axios';

// 获取菜单
export const getMenu = (params?: any) => axios({
  method: 'get',
  url: '/admin/menu',
  params,
}) as Promise<any>;
